
a = raw_input().strip()
# a_lower = a.lower()

result = []
for item in range(len(a)):
	if a[item].lower() == a[item]: